package com.mdd.admin.validate;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
@ApiModel("调解书模板创建参数")
public class MediationTemplateCreateValidate implements Serializable {

    private static final long serialVersionUID = 1L;

    @NotNull(message = "contractType参数缺失")
    @ApiModelProperty(value = " 1-客户签署 2-律师签署")
    private Integer contractType;

    @NotNull(message = "templateName参数缺失")
    @ApiModelProperty(value = "模板名称")
    private String templateName;

    @NotNull(message = "templateContent参数缺失")
    @ApiModelProperty(value = "模板内容")
    private String templateContent;

    @NotNull(message = "templateState参数缺失")
    @ApiModelProperty(value = "模板状态0禁用 1可用")
    private Long templateState;

    @NotNull(message = "state参数缺失")
    @ApiModelProperty(value = "状态0禁用 1可用")
    private Long state;

    @NotNull(message = "fileId参数缺失")
    @ApiModelProperty(value = "待签署文件id")
    private String fileId;

    @NotNull(message = "positionX参数缺失")
    @ApiModelProperty(value = "文件盖章x坐标")
    private Long positionX;

    @NotNull(message = "positionY参数缺失")
    @ApiModelProperty(value = "文件盖章y坐标")
    private Long positionY;

    @NotNull(message = "templateId参数缺失")
    @ApiModelProperty(value = "制作模板控件的编号")
    private String templateId;


}
